﻿using System;
using System.Xml.Serialization;

namespace Zendesk.NET.Models
{
    [XmlRoot("entry")]
    public class Entry
    {
        [XmlElement("body")]
        public string Body;
        [XmlElement("created-at")]
        public DateTime Created;
        [XmlElement("current-tags")]
        public string CurrentTags;
        [XmlElement("flag-type-id")]
        public int FlagType;
        [XmlElement("forum-id")]
        public int ForumId;
        [XmlElement("hits")]
        public int Hits;
        [XmlElement("id")]
        public int Id;
        [XmlElement("is-highlightes")]
        public bool Highlighted;
        [XmlElement("is-locked")]
        public bool Locked;
        [XmlElement("is-pinned")]
        public bool Pinned;
        [XmlElement("is-public")]
        public bool Public;
        [XmlElement("organization-id")]
        public int? OrganizationId;
        [XmlElement("position")]
        public int? Position;
        [XmlElement("posts-count")]
        public int PostsCount;
        [XmlElement("submitter-id")]
        public int SubmitterId;
        [XmlElement("title")]
        public string Title;
        [XmlElement("updated-at")]
        public DateTime Updated;
        [XmlElement("votes-count")]
        public int? VotesCount;
    }
}